<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		/* 
			数组1[1,2,3,4,5]与数组2[6,7,8,9]进行合并，得出数组[1,2,3,4,5,6,7,8,9] 
		*/
		let array1 = [1, 2, 3, 4, 5];
		let array2 = [6, 7, 8, 9];
		for (let i = 0; i < array2.length; i++) {
			array1.push(array2[i]);
		}
		console.log(array1);
	</script>
</html>
